﻿namespace Repositories.BDS;

/// <summary>
/// 基础数据平台课表
/// </summary>
public class BDS_Curriculum
{
    /// <summary>
    /// 主键
    /// </summary>
    public int id { get; set; }

    /// <summary>
    /// 场地
    /// </summary>
    public dynamic site { get; set; }

    /// <summary>
    /// 学年
    /// </summary>
    public object schoolyear { get; set; }

    /// <summary>
    /// 学期
    /// </summary>
    public object schoolterm { get; set; }

    /// <summary>
    /// 上课时间表
    /// </summary>
    public object classtime { get; set; }

    /// <summary>
    /// 上课日期
    /// </summary>
    public string classdate { get; set; }

    /// <summary>
    /// 节次
    /// </summary>
    public object timeset { get; set; }

    /// <summary>
    /// 课程
    /// </summary>
    public object course { get; set; }

    /// <summary>
    /// 讲师（工号/学号 数组）
    /// </summary>
    public object lecturer { get; set; }

    /// <summary>
    /// 教师
    /// </summary>
    public List<BDS_Teacher> teachers { get; set; }

    /// <summary>
    /// 学生
    /// </summary>
    public List<BDS_Student> students { get; set; }

    /// <summary>
    /// 学生班级
    /// </summary>
    public object studentclass { get; set; }

    /// <summary>
    /// 1：不重复，2：单周重复，3：双周重复，4：每周重复
    /// </summary>
    public int repeat { get; set; }

    /// <summary>
    /// 是否启用（1：启用，2：禁用）
    /// </summary>
    public int enable { get; set; }

    /// <summary>
    /// 是否删除（1：未删除，2：已删除）
    /// </summary>
    public int isdelete { get; set; }
    /// <summary>
    /// 开始周
    /// </summary>
    public int startweek { get; set; }
    /// <summary>
    /// 结束周
    /// </summary>
    public int endweek { get; set; }
    /// <summary>
    /// 数据类型 20:都不启动 21：启动多媒体 22：启动录制 23：都启动
    /// </summary>
    public int source { get; set; }
}

/// <summary>
/// 课表数量模型
/// </summary>
public class BDS_CurrCount
{
    /// <summary>
    /// 数量
    /// </summary>
    public int num { get; set; }
    /// <summary>
    /// 场地id
    /// </summary>
    public int site { get; set; }
}
